﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    /// <summary>
    /// 成果表
    /// </summary>
    public class ResultTableData
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Order { get; set; }

        /////////////////////////////////////////////// 结构性 ///////////////////////////////////////
        /// <summary>
        /// S
        /// </summary>
        public String Sparam { get; set; }
        /// <summary>
        /// Smax
        /// </summary>
        public String Smax { get; set; }
        /// <summary>
        /// 缺陷参数
        /// </summary>
        public String DefectParam { get; set; }
        /// <summary>
        /// F等级
        /// </summary>
        public String Flevel { get; set; }
        /// <summary>
        /// 缺陷密度
        /// </summary>
        public String StructDefectDens { get; set; }
        /// <summary>
        /// SM类型
        /// </summary>
        public String SmType { get; set; }
        /// <summary>
        /// 修复指数
        /// </summary>
        public String RepairIndex { get; set; }
        /// <summary>
        /// 修复等级
        /// </summary>
        public String RepairLevel { get; set; }
        /// <summary>
        /// 修复建议
        /// </summary>
        public String RepairSuggest { get; set; }


        /////////////////////////////////////////////// 功能性 ///////////////////////////////////////
        /// <summary>
        /// Y
        /// </summary>
        public String Yparam { get; set; }
        /// <summary>
        /// Ymax
        /// </summary>
        public String Ymax { get; set; }
        /// <summary>
        /// 缺陷参数
        /// </summary>
        public String YdefectParam { get; set; }
        /// <summary>
        /// G等级
        /// </summary>
        public String Glevel { get; set; }
        /// <summary>
        /// 缺陷密度
        /// </summary>
        public String FuncDefectDens { get; set; }
        /// <summary>
        /// YM类型
        /// </summary>
        public String YmType { get; set; }
        /// <summary>
        /// 养护指数
        /// </summary>
        public String MaintainIndex { get; set; }
        /// <summary>
        /// 养护等级
        /// </summary>
        public String MaintainLevel { get; set; }
        /// <summary>
        /// 养护建议
        /// </summary>
        public String MaintainSuggest { get; set; }

        /// <summary>
        /// 子列
        /// </summary>
        public List<ResultTableBaseValue> Achievements { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    public class ResultTableBaseValue
    {
        //public double Arid { get; set; }
        //public double PipeSectId { get; set; }
        //public int Psid { get; set; }
        //public String Creattime { get; set; }
        //public String Updatetime { get; set; }
        //public int IsDelete { get; set; }

        /// <summary>
        /// 项目代码
        /// </summary>
        public int Pid { get; set; }
        /// <summary>
        /// 子项
        /// </summary>
        public String SubProject { get; set; }
        /// <summary>
        /// 片区代码
        /// </summary>
        public String Area { get; set; }
        /// <summary>
        /// 区块代码
        /// </summary>
        public String Block { get; set; }
        /// <summary>
        /// 工点名称
        /// </summary>
        public String WorkField { get; set; }
        /// <summary>
        /// 起始井号
        /// </summary>
        public String StartWellName { get; set; }
        /// <summary>
        /// 终止井号
        /// </summary>
        public String EndWellName { get; set; }
        /// <summary>
        /// 地区参数
        /// </summary>
        public String AreaPara { get; set; }
        /// <summary>
        /// 土质参数
        /// </summary>
        public String SoilPara { get; set; }
        /// <summary>
        /// 敷设年代
        /// </summary>
        public String LayYear { get; set; }
        /// <summary>
        /// 管段类型
        /// </summary>
        public String PipeType { get; set; }
        /// <summary>
        /// 管段材质
        /// </summary>
        public String PipeMate { get; set; }
        /// <summary>
        /// 管段直径
        /// </summary>
        public int PipeDia { get; set; }
        /// <summary>
        /// 管段长度
        /// </summary>
        public double PipeLen { get; set; }
        /// <summary>
        /// 检测长度
        /// </summary>
        public double DetectLen { get; set; }
        /// <summary>
        /// 起点埋深
        /// </summary>
        public double StartDep { get; set; }
        /// <summary>
        /// 终点埋深
        /// </summary>
        public double EndDep { get; set; }
        /// <summary>
        /// 缺陷起始位置
        /// </summary>
        public double StartDefect { get; set; }
        /// <summary>
        /// 缺陷终止位置
        /// </summary>
        public double EndDefect { get; set; }
        /// <summary>
        /// 缺陷长度
        /// </summary>
        public double DefectLen { get; set; }
        /// <summary>
        /// 环向
        /// </summary>
        public String Circumferential { get; set; }
        /// <summary>
        /// 缺陷类型
        /// </summary>
        public String DefectType { get; set; }
        /// <summary>
        /// 缺陷名称
        /// </summary>
        public String DefectName { get; set; }
        /// <summary>
        /// 缺陷代码
        /// </summary>
        public String DefectCode { get; set; }
        /// <summary>
        /// 缺陷等级
        /// </summary>
        public int DefectLev { get; set; }
        /// <summary>
        /// 检测图片
        /// </summary>
        public String DefectImg { get; set; }
        /// <summary>
        /// 检测描述
        /// </summary>
        public String DefectDes { get; set; }
        /// <summary>
        /// 检测方法
        /// </summary>
        public String DetecMethod { get; set; }
        /// <summary>
        /// 检测方向
        /// </summary>
        public String DefectDir { get; set; }
        /// <summary>
        /// 检测日期
        /// </summary>
        public String DefectDate { get; set; }
        /// <summary>
        /// 检测批次
        /// </summary>
        public String DefectBat { get; set; }
        /// <summary>
        /// 检测员
        /// </summary>
        public String Inspector { get; set; }
        /// <summary>
        /// 分包商
        /// </summary>
        public String Subcontractors { get; set; }
    }
}
